From: Dan Nicolaescu Date: Thu, 12 Nov 2009 06:48:03 +0000 (+0000) Subject: (define-compiler-macro): Purecopy the file name. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~9537 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=111b5c07dd26291738e84a06e9ad95b47596a1f0;p=emacs.git (define-compiler-macro): Purecopy the file name. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 850bac71b06..80d816cc517 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2009-11-12 Dan Nicolaescu + + * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name. + 2009-11-11 Dan Nicolaescu * widget.el (define-widget): Purecopy the docstring. diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index a0b0d2e092b..82d7843cd3a 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el @@ -2565,7 +2565,7 @@ and then returning foo." (list 'if 'file (list 'put (list 'quote func) '(quote compiler-macro-file) - '(file-name-nondirectory file)))))))) + '(purecopy (file-name-nondirectory file))))))))) ;;;###autoload (defun compiler-macroexpand (form)